﻿<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" import="java.util.*"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://www.ranbang.com" prefix="rbtag"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
//response.sendRedirect("common/login");
%>
<c:set var="path" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>金融机构_湖南省金融服务平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9;IE=8;IE=7;" />
    <link href="${path }/resource/css/finance/style.css" rel="stylesheet" media="screen" />
    <link href="${path }/resource/css/finance/common.css" rel="stylesheet" />
    <link href="${path }/resource/css/finance/page.css" rel="stylesheet" />
    <link href="${path }/resource/css/finance/other.css" rel="stylesheet" />
    <script type="text/javascript"  src="${path }/resource/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="${path }/resource/js/mytools.js"></script>
    <!--[if IE 6]>
        <script type="text/javascript" src="/Script/DD_belatedPNG_0.0.8a-min.js"></script>
        <script type="text/yjavascript" src="/Script/ie6Fixpng.js"></script>
    <![endif]-->
    <style type="text/css">
        .subjg {
            background: url(/images/icon-dian02.jpg) 10px 10px no-repeat;
            padding-left: 20px;
        }

        .radio-list label {
            display: inline-block;
            float: left;
            height: 34px;
            margin-right: 22px;
            overflow: hidden;
            width: 110px;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            $('.radios').each(function (t, v) {
                $(v.childNodes).each(function (i, s) {
                    if (s.type == "checkbox")
                        s.title = s.value;
                    else
                        s.title = s.innerText;
                });
            });
        });
        function CheckSubmit() {
            if ($.trim($("#tbName").val()) == "" || $.trim($("#tbName").val()) == "关键字") {
                $("#tbName").focus();
                alert("金融机构关键字不能为空！");
                return false;
            }
            return true;
        }
    </script>
</head>
<body>
    <div class="wrap">
        
<div class="head">
    
    
    <div class="top_r">
        <p>
            <span id="Head_lbLogin"></span><a href="login">工作人员登录</a>
        </p>
    </div>
    <div class="clear"></div>
</div>
<div id="gNavi">
    <ul class="clearfix" id="dvGuider">
        <li class="on">
            <a href="#">网站首页</a>
        </li>
        <li>
            <a href="#">金融动态</a>
        </li>
        <li>
            <a href="#">项目信息</a>
        </li>
        <li>
            
            <a href="FinanceOrgHome">资金信息</a>
        </li>
        <li>
            <a href="#">专家信息</a>
        </li>
        <li>
            <a href="#">成果信息</a>
        </li>
        <li>
            <a href="#">招聘信息</a>
        </li>
        <li>
            <a href="#">行情中心</a>
        </li>
    </ul>
</div>
<script type="text/javascript">
    var pn = document.location.href;
    var as = document.getElementById('dvGuider').getElementsByTagName('a'), find = false;
    for (var i = 0, j = as.length; i < j; i++)
        if (as[i].href.indexOf(pn) != -1) {
            as[i].parentElement.className = 'on';
            find = true;
            break;
        } else {
            as[i].parentElement.className = "";
            find = true;
        }
    //if (!find) as[0].className = 'focus';//如果未找到匹配的，需要设置哪个获取焦点可以修改这句

</script>
        <div class="main">
            <div class="fl brand mt18">
                <p>您所在的位置：</p>
                <a href="/">首页</a><span>-</span><a href="FinanceOrgHome">金融机构</a><span>-</span><a>全部</a>
            </div>
            <div class="content">
                <form name="form1" method="post" action="List.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTg2MjExMTM0Mw9kFgRmD2QWAmYPDxYCHgRUZXh0BWI8YSBocmVmPSIvQ29ycC9SZWdpc3Rlci5hc3B4Ij7kvJrlkZjms6jlhow8L2E+PHNwYW4+fDwvc3Bhbj48YSBocmVmPSIvbG9naW4uYXNweCI+5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.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<div>

</div>
                                <%-- <label>机构类型：</label>
                               <rbtag:select value="dic_value" tabName="dictionary" filed="dic_value" where="and dic_type='机构类型'" inputname="orgType" onchange="toSearch(this)"></rbtag:select>
                                 <label >所在区域：</label>
                                 <rbtag:select value="dic_value" tabName="dictionary" filed="dic_value" where="and dic_type='所在区域'" inputname="belDistrict" onchange="toSearch(this)"></rbtag:select>
                         --%>
                          <label>机构类型：</label>
                         <!--显示的值，value值 ，请求数据地址，默认选择-->
						<select id="autoselect"
								data-show="dicValue" 
								data-value="dicValue" 
								data-url="${path}/common/Dictionary/showSelect?dicType=orgType" 
								data-def="${obj.orgType}"  
								name="orgType" onchange="toSearch()">
						</select>
						<label >所在区域：</label>
						  <!--显示的值，value值 ，请求数据地址，默认选择-->
						<select id="autoselect2"
								data-show="dicValue" 
								data-value="dicValue" 
								data-url="${path}/common/Dictionary/showSelect?dicType=area" 
								data-def="${obj.area}"  
								name="area" onchange="toSearch()">
						</select>
						
                        <div class="colMain">
                            <div class="filter clearfix">
                                <ul class="infoShow">
                                    <li class="select">
                                        <span><i class="icoInfo"></i>金融机构-全部  (${sum})</span>
                                    </li>
                                </ul>
                                <span class="searchBox">
                                    <input name="tbName" type="text" id="tbName" class="text" style="color: #999; padding: 0 5px; width: 250px;" value="关键字" onfocus="if(this.value==&#39;关键字&#39;){this.value=&#39;&#39;;}" onblur="if(this.value==&#39;&#39;){this.value=&#39;关键字&#39;;}" />&nbsp;&nbsp;&nbsp;
                                    <a onclick="javascript:return CheckSubmit();" id="btn_Searh" class="searchBtn" href="javascript:__doPostBack(&#39;btn_Searh&#39;,&#39;&#39;)">&nbsp;&nbsp;&nbsp;查 询&nbsp;&nbsp;&nbsp;</a>
                                </span>
                            </div>
                            <div class="inftTitle">
                                <ul class="clearfix">
                                    <li class="infoName">机构名称</li>
                                    <li class="infoArea">地址</li>
                                    <li class="infoDate">成立日期</li>
                                    <li class="infoRep">法人代表</li>
                                    <li class="infoTel">联系电话</li>
                                    <li class="infoLink">产品链接</li>
                                </ul>
                            </div>
                            <div class="infoItem clearfix" style="padding: 0px;">
                                <div class="infoItem-box2">
                                    <c:forEach items="${List}" var="list">
                                    <div class="title">
                                        <h3>${list.area}  (${list.number}家)</h3>
                                        <a href="FinanceOrgHome?area=${list.area}">&nbsp;&nbsp;&nbsp;更多 &gt;&gt;&nbsp;&nbsp;&nbsp;</a>

                                    </div>
                                    <c:forEach items="${list.orglist}" var="org">
                                    <ul>
                                        <li class="infoName">
                                            <a class="text-title" href="${path}/common/FinanceOrgDetail?id=${org.id}" >${org.orgName }</a>
                                        </li>
                                        <li class="infoArea" >${org.regAddr } </li>
                                        <li class="infoDate">
                                            ${org.upDate } 
                                        </li>
                                        <li class="infoRep"> ${org.lawRepresent  }</li>
                                        <li class="infoTel">${org.orgTel }</li>
                                        <li class="infoLink">
                                            <a class="text-title"  href="${path}/common/FinanceOrgDetail?id=${org.id}">查看产品</a>
                                        </li>
                                    </ul>
                                    </c:forEach>
                                    </c:forEach>
                                </div>
                            </div>
                        </div>
                </form>
            </div>
        </div>
    </div>
    
    <script type="text/javascript">
    function toSearch(){
    	var orgType = 	encodeURI($("#autoselect").val());
    	var area = encodeURI($("#autoselect2").val());
    	window.location.href = "${path}/common/FinanceOrgHome?orgType="+orgType+"&area="+area;
    }
    var ms=mytooljs.initSelect({
    	idSelecter:"#autoselect" //下拉框选择器
    	});
    var ms=mytooljs.initSelect({
    	idSelecter:"#autoselect2" //下拉框选择器
    	});
    </script>
</body>
</html>
